/**
 * Author: luoqi
 * Created Date: 2025-11-12 01:10:3
 * Last Modified: 2025-11-15 00:12:13
 * Modified By: luoqi at <**@****>
 * Copyright (c) 2025 <*****>
 * Description:
 */

#ifndef _ADC_PORT_H_
#define _ADC_PORT_H_

#include <stdint.h>

typedef enum {
    ADC1_CH2 = 0,
    ADC1_CH3,
    ADC1_CH4,
    ADC1_CH5,
    ADC1_CH6,
} AdcPort;

int adc_start(void);

int adc1_sampling_trigger(void);

uint16_t adc_read(AdcPort port);

void adc1_conv_cplt_cb_override(void);

#endif
